#include "head.h"
#include "key.h"
#include "lcd12864ctrl.h"
#include "menu.h"

void main()
{
    uchar key;
    initIO();
    menuInit();
    while(1)
    {
        key = key_loop();
        menu_keyevent(key);
    }

}